package com.hxzy.module.admin.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author wy
 * @Description 自定义rsa非对称加密属性
 * @Date 2024/2/3 16:22
 * @Version 1.0
 */
@Component
@ConfigurationProperties("rsa")
@Getter
@Setter
public class RSAProperties {

    /**
     * 私钥Hex
     */
    private String privateKeyStr;
    /**
     * 公钥Hex
     */
    private String publicKeyStr;
}
